<?php
namespace MyProject\Serializers;

use Elasticsearch\Serializers\SerializerInterface;

class MyCustomSerializer implements SerializerInterface{

    private $foo;

    public function __construct($a,$b,$c){
        $a = $b + $c;
        print_r($a);
    }

    public function serialize($data)
    {
        // TODO: Implement serialize() method.
    }


    public function deserialize($data, $headers)
    {
        // TODO: Implement deserialize() method.
    }

    public function setFoo($foo){
        return $this->foo =$foo;
    }
}